package com.foreveross.bsl.mam.model.app.domain;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.foreveross.bsl.mongodb.domain.Entity;


/**
 * 应用版本与模块版本关联实体
 * 
 * @author tanzhixiong
 * @2013-6-20 @下午4:59:57
 */
@Document
public class AppVersionWidgetVersion extends Entity {

	@Id
	private String id;

	/**
	 * 应用版本号
	 */
	@Field("appVersion")
	private String appVersion;

	/**
	 * 平台
	 */
	@Field("platform")
	private String platform;

	/**
	 * 应用ID
	 */
	@Field("appId")
	private String appId;

	/**
	 * 模块id
	 */
	@Field("widgetId")
	private String widgetId;

	/**
	 * 模块版本
	 */
	@Field("widgetVersion")
	private String widgetVersion;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAppVersion() {
		return appVersion;
	}

	public void setAppVersion(String appVersion) {
		this.appVersion = appVersion;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getWidgetId() {
		return widgetId;
	}

	public void setWidgetId(String widgetId) {
		this.widgetId = widgetId;
	}

	public String getWidgetVersion() {
		return widgetVersion;
	}

	public void setWidgetVersion(String widgetVersion) {
		this.widgetVersion = widgetVersion;
	}

	public String getPlatform() {
		return platform;
	}

	public void setPlatform(String platform) {
		this.platform = platform;
	}
}
